package com.xuecheng;

import com.xuecheng.api.config.DefaultFeignConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@MapperScan("com.xuecheng.learning.mapper")
@SpringBootApplication
@EnableFeignClients(basePackages = "com.xuecheng.api.client", defaultConfiguration = DefaultFeignConfig.class)
public class LearningApplication {

    public static void main(String[] args) {
        SpringApplication.run(LearningApplication.class, args);
    }

}
